package com.wolfword.common.enums;

/**
 * 网站爬取状态枚举类
 * @author ServerZhang
 * @date 2018年1月10日
 */
public enum CrawlStatusEnum {

	UNCRAWLED(0,"uncrawled","未爬取"),
	CRAWLING(1,"crawling","爬取中"),
	CRAWLED(2,"crawled","爬取完成");
	
	private Integer status = null;//状态值
	private String statusStr = null;//状态字符串
	private String content = null;//说明
	
	private CrawlStatusEnum(Integer status, String statusStr, String content){
		this.status = status;
		this.statusStr = statusStr;
		this.content = content;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getStatusStr() {
		return statusStr;
	}

	public void setStatusStr(String statusStr) {
		this.statusStr = statusStr;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
}
